<?php
namespace app\index\controller;
use app\common\controller\HomeBase;
use app\common\model\Forumcate as ForumcateModel;
use app\common\model\NavCms as NavModel;
use app\common\model\Articlecate as ArticlecateModel;
use think\Cache;
use Captcha\Captcha;
use think\Config;

class Captcha extends HomeBase
{

    public function captcha()
    {
        $m = new Captcha(Config::get('captcha'));

        $img = $m->entry();
        return $img;
    }
}